package myschool.myshchool15.mystudent;

import java.util.Scanner;

public class Temperature {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        double temperature = 0;
        double celsius = 0;
        int number = 0;
        do{
            number++;
            temperature=temperature+20;
            celsius = (temperature*9/5.0)+32;
            System.out.println("华氏摄氏度"+temperature+"度"+"="+"摄氏摄氏度"+celsius+"度");
        }while (number<= 9 && temperature <= 250);
    }
}
